<!DOCTYPE html>
<html class="no-js">
<head>
    <meta charset="utf-8">
    <title>数据统计</title>
    <meta name="description" content="">
    <meta name="HandheldFriendly" content="True">
    <meta name="MobileOptimized" content="320">
    <meta name="viewport" content="width=device-width, initial-scale=1, minimal-ui, user-scalable=no">
    <meta http-equiv="cleartype" content="on">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="/assets/public/layermobile/css/layer.css">
    <link rel="stylesheet" href="/assets/doorctrl/css/style.css"/>
    <link rel="stylesheet" href="/assets/doorctrl/css/fonts.css"/>
</head>
<body>

<div class="wraper">
    <form action="/Doorctrl/DoorctrlStat/monthStatDetail/doorctrlId/{BEESCRM:$doorctrlId}/type/{BEESCRM:$type}" method="post">
        <div class="header font-16 flex padding">
            <a href="/Doorctrl/DoorctrlStat/index/doorctrlId/{BEESCRM:$doorctrlId}" style="color:#fff;"><div class="iconfont icon-zuo font-24"></div></a>
            <div class="seek-name">
                <input type="text" placeholder="请输入学生姓名搜索" name="user_name" value="{BEESCRM:$_REQUEST['user_name']}" style="color:#2a2a2a;"/>
            </div>
            <button type="submit" style="display: none;" id="js_search_btn">搜索</button>
            <span id="search" style="cursor: pointer;">搜索</span>
        </div>
    </form>
    <if condition="$type eq 2">
        <div class="font-gray" style="padding: 14px 12px 4px 12px">夜不归宿人员近30日统计</div>
    </if>

    <if condition="$type eq 1">
        <div class="font-gray heightjs" style="padding: 14px 12px 4px 12px">晚归人员近30日统计</div>
    </if>

    <if condition="!empty($detail)">
        <volist name="detail" id="vo">
            <div class="box Student title flex margin-10">
                <div>
                    <p>{BEESCRM:$vo['user_info']['real_name']}<if condition="$vo['user_info']['is_important'] eq 1">（<span style="color: #f00;">重点人员</span>）</if></p>
                    <p class="margin-8 font-gray font-12" ><span class="margin-r18">{BEESCRM:$vo['dept_name']}</span> <span>{BEESCRM:$vo['user_info']['mobile']}</span></p>
                </div>
                <div>
                    {BEESCRM:$vo['num']}次
                </div>
                <if condition="$vo['is_important'] eq 1">
                    <div class="sign"></div>
                </if>
            </div>
        </volist>
        <div style="padding: 26px"></div>
        <p class="font-12 font-gray NO-post">没有更多记录了</p>
    </if>
    <if condition="empty($detail)">
        <div class="NO-post">
            <div class="font-gray no-data"><p>暂无数据</p></div>
        </div>
    </if>
</div>

<script src="/assets/public/jquery-2.1.0.min.js"></script>
<script>
    $(function () {
        var height = $(window).height();
        $('.wraper').css('minHeight', height);
        var height1=$(".header").innerHeight();
        var height2=$(".heightjs").innerHeight();
        $(".no-data").css("height",height-height1-height2);

        //点击搜索按钮
        $(document).on('click','#search',function () {
            $('#js_search_btn').trigger('click');
        })
    })

</script>
</body>
</html>